package com.ruoyi.project.mydy.payrecord.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 支付记录对象 dl_pay_record
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlPayRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 支付用户id */
    @Excel(name = "支付用户id")
    private Long userId;

    /** 收款商户id */
    @Excel(name = "收款商户id")
    private Long busiId;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal totalPrice;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setBusiId(Long busiId)
    {
        this.busiId = busiId;
    }

    public Long getBusiId()
    {
        return busiId;
    }
    public void setTotalPrice(BigDecimal totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice()
    {
        return totalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("busiId", getBusiId())
            .append("totalPrice", getTotalPrice())
            .append("createTime", getCreateTime())
            .toString();
    }
}
